home *** CD-ROM | disk | FTP | other *** search
- # This script was automatically generated from the dsa-422
- # Debian Security Advisory
- # It is released under the Nessus Script Licence.
- # Advisory is copyright 1997-2004 Software in the Public Interest, Inc.
- # See http://www.debian.org/license
- # DSA2nasl Convertor is copyright 2004 Michel Arboi
-
- if (! defined_func('bn_random')) exit(0);
-
- desc = '
- The account management of the CVS pserver (which is used to give remote
- access to CVS repositories) uses a CVSROOT/passwd file in each
- repository which contains the accounts and their authentication
- information as well as the name of the local unix account to use when a
- pserver account is used. Since CVS performed no checking on what unix
- account was specified anyone who could modify the CVSROOT/passwd
- could gain access to all local users on the CVS server, including root.
- This has been fixed in upstream version 1.11.11 by preventing pserver
- from running as root. For Debian this problem is solved in version
- 1.11.1p1debian-9 in two different ways:
- Additionally, CVS pserver had a bug in parsing module requests which
- could be used to create files and directories outside a repository.
- This has been fixed upstream in version 1.11.11 and Debian version
- 1.11.1p1debian-9.
- Finally, the umask used for “cvs init” and
- “cvs-makerepos” has been
- changed to prevent repositories from being created with group write
- permissions.
-
-
- Solution : http://www.debian.org/security/2004/dsa-422
- Risk factor : High';
-
- if (description) {
- script_id(15259);
- script_version("$Revision: 1.4 $");
- script_xref(name: "DSA", value: "422");
-
- script_description(english: desc);
- script_copyright(english: "This script is (C) 2004 Michel Arboi");
- script_name(english: "[DSA422] DSA-422-1 cvs");
- script_category(ACT_GATHER_INFO);
- script_family(english: "Debian Local Security Checks");
- script_dependencies("ssh_get_info.nasl");
- script_require_keys("Host/Debian/dpkg-l");
- script_summary(english: "DSA-422-1 cvs");
- exit(0);
- }
-
- include("debian_package.inc");
-
- w = 0;
- if (deb_check(prefix: 'cvs', release: '3.0', reference: '1.11.1p1debian-9')) {
- w ++;
- if (report_verbosity > 0) desc = strcat(desc, '\nThe package cvs is vulnerable in Debian 3.0.\nUpgrade to cvs_1.11.1p1debian-9\n');
- }
- if (w) { security_hole(port: 0, data: desc); }
-